package com.ruoyi.front_desk.FrontdeskRepresentativePerformance.mapper;


import com.ruoyi.management_controller.RepresentativePerformance.domain.RepresentativePerformance;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * @author 刘奥旸
 * @version 1.0
 */
@Mapper
public interface FrontdeskRepresentativePerformanceMapper {
   // void insertRepresentativePerformance(FrontdeskRepresentativePerformance performance);

    void insertFrontdeskRepresentativePerformance(RepresentativePerformance performance);
    List<RepresentativePerformance> selectRepresentativePerformanceById(@Param("representativeId")int representativeId,@Param("firstYear") String firstYear,@Param("lastYear")String lastYear);
    List<RepresentativePerformance> findByDate(@Param("representativeId")int representativeId,@Param("firstYear") String firstYear,@Param("lastYear")String lastYear);
    List<RepresentativePerformance> selectRepresentativePerformanceAll();
}
